

const device = uni.getSystemInfoSync();

const os = device.platform;

const getNavBar = () => {
  return device.statusBarHeight + 44;
};
const navbar = getNavBar();

const isIos = device.platform === 'ios'
const isAndroid = device.platform === 'android'

const _platform = {
  device,
  navbar,
  isIos,
  isAndroid
};

export default _platform;
